//
//  TextBookUnitSourceListModel.m
//  Learn
//
//  Created by cjg.mini on 2024/4/10.
//  Copyright © 2024 迟建国. All rights reserved.
//

#import "TextBookUnitSourceListModel.h"

@implementation TextBookUnitWordModel
-(NSString *)recordPath {
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *fileName = [NSString stringWithFormat:@"%@.pcm",self.wId];
    NSString *path = [[paths objectAtIndex:0] stringByAppendingPathComponent:fileName];
    return path;
}
@end

@implementation TextBookUnitTextModel
-(NSString *)recordPath {
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *fileName = [NSString stringWithFormat:@"%@.pcm",self.versionId];
    NSString *path = [[paths objectAtIndex:0] stringByAppendingPathComponent:fileName];
    return path;
}
@end


@implementation TextBookUnitLessonModel

@end



@implementation TextBookUnitSourceListModel

@end
